﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PMQLCHH.DAO
{
    public class ChiTietHoaDonDTO
    {
        //Kha Nguyen - Chi Tiet Hoa Don DTO - 6/2/2013 - Begin
        //Fields
        private int m_iMaChiTietHoaDon;
        private string m_strMaHoaDon;
        private string m_strMaMatHang;
        private int m_iSoLuong;
        private long m_fGiaBan;
        private long m_fThanhTien;
        private int m_iTrangThai;
        private DateTime m_dtNgayLap;

        
        //properties
        public int IMaChiTietHoaDon
        {
            get { return m_iMaChiTietHoaDon; }
            set { m_iMaChiTietHoaDon = value; }
        }

        public string StrMaHoaDon
        {
            get { return m_strMaHoaDon; }
            set { m_strMaHoaDon = value; }
        }

        public string StrMaMatHang
        {
            get { return m_strMaMatHang; }
            set { m_strMaMatHang = value; }
        }

        public int ISoLuong
        {
            get { return m_iSoLuong; }
            set { m_iSoLuong = value; }
        }

        public long FGiaBan
        {
            get { return m_fGiaBan; }
            set { m_fGiaBan = value; }
        }

        public long FThanhTien
        {
            get { return m_fThanhTien; }
            set { m_fThanhTien = value; }
        }

        public int ITrangThai
        {
            get { return m_iTrangThai; }
            set { m_iTrangThai = value; }
        }

        public DateTime DtNgayLap
        {
            get { return m_dtNgayLap; }
            set { m_dtNgayLap = value; }
        }
        //methods

        public ChiTietHoaDonDTO()
        {
            this.IMaChiTietHoaDon = 0;
            this.StrMaMatHang = "";
            this.StrMaMatHang = "";
            this.ISoLuong = 0;
            this.FGiaBan = 0;
            this.FThanhTien = 0;
            this.DtNgayLap = new DateTime();
        }
        //Kha Nguyen - Chi Tiet Hoa Don DTO - 6/2/2013 - end 
    }
}
